package com.lhy.tool.patchplugin;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 属性配置类
 */
@Component
@ConfigurationProperties(prefix = "patch")
@Data
public class PatchPluginProperties {

    /**
     * 增量包目录
     */
    String targetPath = "E:/git-new-res1/patch-plugin/dist/opt/zzfw/";

    /**
     * 源码包目录
     */
    String srcPath = "E:/idea-project/zzfw-pack/";

    /**
     * patch文件路径
     */
    String patchFilePath = "E:\\git-new-res1\\patch-plugin\\示例patch文件\\patch.patch";

    /**
     * 源码版本号
     */
    String version = "3.0.3";

    /**
     * 增量包版本号
     */
    String targetVersion = "3.0.1";

    /**
     * 生成前是否清空目标目录
     */
    boolean cleanable = true;

    /**
     * svn路径根目录
     */
    String svnPath = "/自助服务工作区/V3.0/trunk/02产品研发过程域/03源码/server/zzfw-pack/";
}
